package com.netsmart.dao;

import com.netsmart.bean.sentence;
import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface sentenceMapper {
    int deleteByPrimaryKey(long sentenceId);

    int insert(sentence record);

    int insertSelective(sentence record);

    sentence selectByPrimaryKey(long sentenceId);

    int updateByPrimaryKeySelective(sentence record);

    int updateByPrimaryKey(sentence record);
    
    List<sentence> selectAllByType(@Param("sentenceType")String type);

    List<sentence> selectAll();
    
    sentence selectByText(@Param("text")String text);
    
}